<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>-->
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
</head>
<body>
<div id="vue-app">
    <p> Age ： {{ age }} </p>
    <button v-on:click="add(1)">增加1岁</button>
    <button v-on:click="substract(1)">减少1岁</button>
    <button v-on:dblclick="add(10)">增加10岁</button>
    <button v-on:dblclick="substract(10)">减少10岁</button>


</div>

<script src="app.js"></script>
</body>
</html>